#!/bin/bash

sqoop export \
  --driver com.mysql.cj.jdbc.Driver \
  --connect jdbc:mysql://liu:3306/novel \
  --username root \
  --table relationship_in_mysql \
  --password-file /user/mysql.pwd \
  --export-dir /user/hive/warehouse/novel.db/relationship_tmp \
  --input-fields-terminated-by '\001'